package com.seckill.goods.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 商品类目
 * </p>
 * @author 作者
 * @since 2022-03-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_category")
////@ApiModel(value="Category", description="商品类目")
public class Category implements Serializable {


    ////@ApiModelProperty(value = "分类ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    ////@ApiModelProperty(value = "分类名称")
    @TableField("name")
    private String name;

    ////@ApiModelProperty(value = "商品数量")
    @TableField("goods_num")
    private Integer goodsNum;

    ////@ApiModelProperty(value = "是否显示")
    @TableField("is_show")
    private String isShow;

    ////@ApiModelProperty(value = "是否导航")
    @TableField("is_menu")
    private String isMenu;

    ////@ApiModelProperty(value = "排序")
    @TableField("seq")
    private Integer seq;

    ////@ApiModelProperty(value = "上级ID")
    @TableField("parent_id")
    private Integer parentId;

    ////@ApiModelProperty(value = "模板ID")
    @TableField("template_id")
    private Integer templateId;


}
